package com.ygqh.baby.po;

import java.math.BigDecimal;
import java.util.Date;

import com.ygqh.baby.ao.DataStatus;
import com.ygqh.baby.ao.PaymentMode;
import com.ygqh.baby.ao.SceneType;
import com.ygqh.baby.ao.SendType;

public class YgSupplier {
    private Long id;

    private String supplierName;

    private String supplierType;

    private String linkMan;

    private String loginName;

    private String loginPassword;

    private String returnTelPhone;

    private String returnReceiver;

    private String returnAddress;

    private String telPhone;

    private Date startDate;

    private Date endDate;

    private Date checkTime;

    private String checkBy;

    private String checkRemark;

    private DataStatus status;

    private String createBy;

    private Date createTime;

    private String updateBy;

    private Date updateTime;
    
    private YgStore ygStore;

    private BigDecimal shareRate;

    private String email;

    private PaymentMode paymentMode;
    
    private BigDecimal commissionRate;

    private Integer paymentCycle;

    private BigDecimal supplierFee;

    private SendType sendType;
    
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName == null ? null : supplierName.trim();
    }

    public String getSupplierType() {
        return supplierType;
    }

    public void setSupplierType(String supplierType) {
        this.supplierType = supplierType == null ? null : supplierType.trim();
    }

    public String getLinkMan() {
        return linkMan;
    }

    public void setLinkMan(String linkMan) {
        this.linkMan = linkMan == null ? null : linkMan.trim();
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName == null ? null : loginName.trim();
    }

    public String getLoginPassword() {
        return loginPassword;
    }

    public void setLoginPassword(String loginPassword) {
        this.loginPassword = loginPassword == null ? null : loginPassword.trim();
    }

    public String getReturnTelPhone() {
        return returnTelPhone;
    }

    public void setReturnTelPhone(String returnTelPhone) {
        this.returnTelPhone = returnTelPhone == null ? null : returnTelPhone.trim();
    }

    public String getReturnReceiver() {
        return returnReceiver;
    }

    public void setReturnReceiver(String returnReceiver) {
        this.returnReceiver = returnReceiver == null ? null : returnReceiver.trim();
    }

    public String getReturnAddress() {
        return returnAddress;
    }

    public void setReturnAddress(String returnAddress) {
        this.returnAddress = returnAddress == null ? null : returnAddress.trim();
    }

    public String getTelPhone() {
        return telPhone;
    }

    public void setTelPhone(String telPhone) {
        this.telPhone = telPhone == null ? null : telPhone.trim();
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public Date getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(Date checkTime) {
        this.checkTime = checkTime;
    }

    public String getCheckBy() {
        return checkBy;
    }

    public void setCheckBy(String checkBy) {
        this.checkBy = checkBy == null ? null : checkBy.trim();
    }

    public String getCheckRemark() {
        return checkRemark;
    }

    public void setCheckRemark(String checkRemark) {
        this.checkRemark = checkRemark == null ? null : checkRemark.trim();
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy == null ? null : updateBy.trim();
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

	public YgStore getYgStore() {
		return ygStore;
	}

	public void setYgStore(YgStore ygStore) {
		this.ygStore = ygStore;
	}

	public void setStatus(DataStatus status) {
		this.status = status;
	}

	public DataStatus getStatus() {
		return status;
	}

	public BigDecimal getShareRate() {
		return shareRate;
	}

	public void setShareRate(BigDecimal shareRate) {
		this.shareRate = shareRate;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email == null ? null : email.trim();
	}

	public PaymentMode getPaymentMode() {
		return paymentMode;
	}

	public void setPaymentMode(PaymentMode paymentMode) {
		this.paymentMode = paymentMode;
	}

	public BigDecimal getCommissionRate() {
		return commissionRate;
	}

	public void setCommissionRate(BigDecimal commissionRate) {
		this.commissionRate = commissionRate;
	}

	public Integer getPaymentCycle() {
		return paymentCycle;
	}

	public void setPaymentCycle(Integer paymentCycle) {
		this.paymentCycle = paymentCycle;
	}

	public BigDecimal getSupplierFee() {
		return supplierFee;
	}

	public void setSupplierFee(BigDecimal supplierFee) {
		this.supplierFee = supplierFee;
	}
	
	public SendType getSendType() {
		return sendType;
	}

	public void setSendType(SendType sendType) {
		this.sendType = sendType;
	}

	@Override
	public String toString() {
		return "YgSupplier [id=" + id + ", supplierName=" + supplierName + ", supplierType=" + supplierType + ", linkMan=" + linkMan + ", loginName="
				+ loginName + ", loginPassword=" + loginPassword + ", returnTelPhone=" + returnTelPhone + ", returnReceiver=" + returnReceiver
				+ ", returnAddress=" + returnAddress + ", telPhone=" + telPhone + ", startDate=" + startDate + ", endDate=" + endDate + ", checkTime="
				+ checkTime + ", checkBy=" + checkBy + ", checkRemark=" + checkRemark + ", status=" + status + ", createBy=" + createBy + ", createTime="
				+ createTime + ", updateBy=" + updateBy + ", updateTime=" + updateTime + ", ygStore=" + ygStore + ", shareRate=" + shareRate + ", email="
				+ email + ", paymentMode=" + paymentMode + ", commissionRate=" + commissionRate + ", paymentCycle=" + paymentCycle + ", supplierFee="
				+ supplierFee + "]";
	}

}